package com.QSystem.mapper;

import com.QSystem.pojo.Detail;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DetailMapper {
    //根据ansId获取detail
    List<Detail> getByAnsId(Integer ansId);

    void add(Detail detail);

    List<Detail> getAllDetail();
}
